function get_data_from_server()
{
    console.log("开始从服务器获取数据");
    //POST请求
let url = "http://oa.enpingshi.com/api/tamer/index.php";
let requestType = "POST";
let headers = {'Content-Type':'application/x-www-form-urlencoded'};
let postData = "toolbox_urls=www.aibote.com";


let _result2 =  androidBot.urlRequest(url, "GET");




_result=androidBot.urlRequest(url, requestType, JSON.stringify(headers), postData);
 

_result2.then(value => {
    console.log(value);
}).catch(error => {
    console.error('Promise 被拒绝了:', error);
});

}